package entity;

import java.util.Date;

public class purchase2 {
    private Integer pId;

    private Integer goodsId;

    private Integer num;

    private Date purchaseDate;

    private Integer userId;

    private goods goods;

    private user user;

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Date getPurchaseDate() {
        return purchaseDate;
    }

    public void setPurchaseDate(Date purchaseDate) {
        this.purchaseDate = purchaseDate;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public entity.goods getGoods() {
        return goods;
    }

    public void setGoods(entity.goods goods) {
        this.goods = goods;
    }

    public entity.user getUser() {
        return user;
    }

    public void setUser(entity.user user) {
        this.user = user;
    }
}